function setOnAlarm(data1){
    //告警飞机-选中状态
    var iconUrl = '',
    aircraftType = data1;
   
    if(aircraftType == "01"){
        iconUrl = 'images/air/FW-alarm-red-on.png';
    }else if(aircraftType == "02"){
        iconUrl = 'images/air/rotorcraft-alarm-red-on.png';
    }else if(aircraftType == "03"){
        iconUrl = 'images/air/sy-alarm-red-on.png';
    }else if(aircraftType == "04"){
        iconUrl = 'images/air/glider-alarm-red-on.png';
    }else if(aircraftType == "05"){
        iconUrl = 'images/air/hot-air-alarm-red-on.png';
    }else if(aircraftType == "06"){
        iconUrl = 'images/air/airship-alarm-red-on.png';
    }else if(aircraftType == "07"){
        iconUrl = 'images/air/xxwrj-alarm-red-on.png';
    }else if(aircraftType == "08"){
        iconUrl = 'images/air/UAV-alarm-red-on.png';
    }else if(aircraftType == "09"){
        iconUrl = 'images/air/un-alarm-red-on.png';
    }
    
    return iconUrl;
}

function setAlarm(data1){
    //告警飞机-未选中状态
    var iconUrl = '',
    aircraftType = data1;
    if(aircraftType == "01"){
        iconUrl = 'images/air/FW-alarm-red.png';
    }else if(aircraftType == "02"){
        iconUrl = 'images/air/rotorcraft-alarm-red.png';
    }else if(aircraftType == "03"){
        iconUrl = 'images/air/sy-alarm-red.png';
    }else if(aircraftType == "04"){
        iconUrl = 'images/air/glider-alarm-red.png';
    }else if(aircraftType == "05"){
        iconUrl = 'images/air/hot-air-alarm-red.png';
    }else if(aircraftType == "06"){
        iconUrl = 'images/air/airship-alarm-red.png';
    }else if(aircraftType == "07"){
        iconUrl = 'images/air/xxwrj-alarm-red.png';
    }else if(aircraftType == "08"){
        iconUrl = 'images/air/UAV-alarm-red.png';
    }else if(aircraftType == "09"){
        iconUrl = 'images/air/un-alarm-red.png';
    }
    return iconUrl;
}

function setOnFly(data1){
    //正常飞机 - 选中状态
    var iconUrl = '',
    aircraftType = data1;
    if(aircraftType == "01"){
        iconUrl = 'images/air/FW-big-on.png';
    }else if(aircraftType == "02"){
        iconUrl = 'images/air/rotorcraft-big-on.png';
    }else if(aircraftType == "03"){
        iconUrl = 'images/air/sy-big-on.png';
    }else if(aircraftType == "04"){
        iconUrl = 'images/air/glider-big-on.png';
    }else if(aircraftType == "05"){
        iconUrl = 'images/air/hot-air-big-on.png';
    }else if(aircraftType == "06"){
        iconUrl = 'images/air/airship-big-on.png';
    }else if(aircraftType == "07"){
        iconUrl = 'images/air/xxwrj-big-on.png';
    }else if(aircraftType == "08"){
        iconUrl = 'images/air/UAV-big-on.png';
    }else if(aircraftType == "09"){
        iconUrl = 'images/air/un-big-on.png';
    }
    return iconUrl;
}

function setFly(data1){
    //正常飞机 - 未选中状态
    var iconUrl = '',
    aircraftType = data1;
    if(aircraftType == "01"){
        iconUrl = 'images/air/FW-big.png';
    }else if(aircraftType == "02"){
        iconUrl = 'images/air/rotorcraft-big.png';
    }else if(aircraftType == "03"){
        iconUrl = 'images/air/sy-big.png';
    }else if(aircraftType == "04"){
        iconUrl = 'images/air/glider-big.png';
    }else if(aircraftType == "05"){
        iconUrl = 'images/air/hot-air-big.png';
    }else if(aircraftType == "06"){
        iconUrl = 'images/air/airship-big.png';
    }else if(aircraftType == "07"){
        iconUrl = 'images/air/xxwrj-big.png';
    }else if(aircraftType == "08"){
        iconUrl = 'images/air/UAV-big.png';
    }else if(aircraftType == "09"){
        iconUrl = 'images/air/un-big.png';
    }
    return iconUrl;
}